home *** CD-ROM | disk | FTP | other *** search
-
- on setButFlags
- global gEngBut, gKanjBut, gKanaBut, gEngVBut
-
- set spriteEngl = 10
- set spriteKanj = 11
- set spriteKana = 12
- set spriteEVoi = 13
-
- if (the name of cast( the castNum of sprite spriteEngl ) = "engSelUp" ) then
- set gEngBut = TRUE
- else
- set gEngBut = FALSE
- end if
-
- if (the name of cast( the castNum of sprite spriteKanj ) = "kanjiSelUp") then
- set gKanjBut = TRUE
- else
- set gKanjBut = FALSE
- end if
-
- if (the name of cast( the castNum of sprite spriteKana ) = "kanaSelUp") then
- set gKanaBut = TRUE
- else
- set gKanaBut = FALSE
- end if
-
- if (the name of cast( the castNum of sprite spriteEVoi ) = "voiceSelUp") then
- set gEngVBut = TRUE
- else
- set gEngVBut = FALSE
- end if
-
- end setButFlags
- ------------------------------------------------------------------------
-
- on getButFlags
- global gEngBut, gKanjBut, gKanaBut, gEngVBut
-
- set spriteEngl = 10
- set spriteKanj = 11
- set spriteKana = 12
- set spriteEVoi = 13
-
- if gEngBut then
- set the castNum of sprite spriteEngl to (the number of cast "engSelUp")
- textEng
- end if
-
- if gKanjBut then
- set the castNum of sprite spriteKanj to (the number of cast "kanjiSelUp")
- textKji
- end if
-
- if gKanaBut then
- set the castNum of sprite spriteKana to (the number of cast "kanaSelUp")
- textKan
- end if
-
- if gEngVBut then
- set the castNum of sprite spriteEVoi to (the number of cast "voiceSelUp")
- VoicEng
- end if
-
- updateStage
-
- end getButFlags
-